home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / pluginy Firefox / 2108 / 2108.xpi / content / manage.xul < prev    next >
Extensible Markup Language  |  2009-10-05  |  2KB  |  42 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://stylish/skin/manage.css" type="text/css"?>
  3.  
  4. <!DOCTYPE overlay [
  5.     <!ENTITY % manage SYSTEM "chrome://stylish/locale/manage.dtd">
  6.     %manage;
  7. ]>
  8.  
  9. <overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.  
  11.     <script type="application/javascript" src="chrome://global/content/nsDragAndDrop.js"/>
  12.     <script type="application/javascript" src="chrome://stylish/content/common.js"/>
  13.     <script type="application/javascript" src="chrome://stylish/content/manage.js"/>
  14.  
  15.     <stringbundleset id="stylish-stringbundleset">
  16.         <stringbundle id="stylishStrings" src="chrome://stylish/locale/manage.properties"/>
  17.         <stringbundle id="stylish-common-strings" src="chrome://stylish/locale/common.properties"/>
  18.     </stringbundleset>
  19.  
  20.     <notificationbox id="styles-container" flex="1">
  21.         <deck id="styles-deck" flex="1">
  22.             <vbox>
  23.                 <hbox id="userstyles-heading">
  24.                     <textbox id="styles-filter" emptytext="&filter;" type="timed" timeout="500" oncommand="stylishManage.updateFilter(this.value)" flex="1"/>
  25.                     <label for="styles-sort" value="&sortgroup;"/>
  26.                     <menulist id="styles-sort" oncommand="stylishManage.build()" persist="value">
  27.                         <menupopup>
  28.                             <menuitem label="&sortname;" value="name"/>
  29.                             <menuitem label="&sortenabled;" value="enabled"/>
  30.                             <menuitem label="&sorttype;" value="type"/>
  31.                             <menuitem label="&sorttag;" value="tag"/>
  32.                         </menupopup>
  33.                     </menulist>
  34.                 </hbox>
  35.                 <richlistbox id="styles" flex="1" onkeypress="stylishManage.handleKeyPress(event)" ondraggesture="nsDragAndDrop.startDrag(event, stylishManage.dragObserver)" ondragover="nsDragAndDrop.dragOver(event, stylishManage.dragObserver);" ondragdrop="nsDragAndDrop.drop(event, stylishManage.dragObserver);" />
  36.             </vbox>
  37.             <description id="no-styles-note">&nostylesstart;<label href="http://userstyles.org/" class="text-link">userstyles.org</label>&nostylesend;</description>
  38.         </deck>
  39.     </notificationbox>
  40.  
  41. </overlay>
  42.